@charset "utf-8";

@import "common/reset";

@function n($px){
    @return($px)/2;
}
$color:#b20000;
.web{
    height: 100%;
    position: relative;
    font-family:"microsoft yahei" "微软雅黑" arial; 
    header{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height:n(89px);
        line-height: n(89px);
        background: #b20000;
       
        .header_left{
            color: #fff;           
            margin-left: n(23px); 
            position: relative;
            .yuan_number{
                position: absolute;
                font-size: 8px;
                width: 9px;
                height:9px;
                text-align: center;
                line-height: 9px;
                top: 13px;
                right: -5px;
                border-radius: 50%;
                background: #ff0000;
            }
            .iconfont{
                font-size: n(23px);
            }                      
        }
        .header_right{
            margin-right: n(17px);
            .search{
                display: inline-block;
                vertical-align: middle;
                width:n(38px);
                height: n(38px);
                text-align: center;
                border-radius: 50%;
                border: n(2px) solid #ffffff;
                color: #FFFFFF;
                line-height: n(33px);             
                .iconfont{
                     font-size: n(26px);
                }
            }
        }
        .header_center{
            width: n(264px);
            height: n(89px);
            margin:0 auto;
            a{
                vertical-align: middle;           
                img{
                    width:100%;
                }
            }
            
        }
    }
    main{
        width: 100%;
        overflow-y: scroll;
        position: absolute;
        top: n(89px);
        bottom:n(96px);
    }
    footer{
        width: 100%;
        position: absolute;
        left: 0;
        bottom: 0;
        padding: n(11px) 0;
        border-top: n(2px) solid #d1d0d0;
        ul{
            li{
                position: relative;
                width: 20%;
                text-align: center;
                a{
                    font-size: n(18px);
                    color: #7c7c7c;
                }
                a.active{
                   color: $color;
                }
            }
            li:not(:last-child)::after{
                position: absolute;
                right: 0;
                top: 50%;
                transform: translateY(-50%);
                display: inline-block;
                content: "";
                width: n(2px);
                height: n(50px);
                background: red;
            }
        }
    }
}
